package com.link.base.tencent.corpwx.usertag.dao.mybatis.mapper;

import com.link.base.tencent.corpwx.usertag.model.UserTag;
import com.link.base.tencent.corpwx.usertag.model.UserTagItem;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 成员标签-成员 
 *
 * @author 欧阳振强
 * @date 2020-01-06 10:53:25.0
 */
public interface UserTagItemMapper extends BasicMapper<UserTagItem> {
   /**
    * 根据标签的记录Id获取其下成员列表
    *
    * @author 欧阳振强
    * @date 2020/01/06
    * @param userTag 标签对象
    */
    List<UserTagItem> getUserTagItemListByTag(UserTag userTag) throws Exception;

   /**
    * 通过CRM标签记录ID删除标签成员
    *
    * @author 欧阳振强
    * @date 2020/01/06
    * @param userTag 标签对象
    */
    void delUserTagByHeadId(UserTag userTag) throws Exception;

    /**
     * 选择标签成员
     *
     * @author 欧阳振强
     * @date 2020/01/05
     * @param userTagItem 标签成员
     */
    List<UserTagItem> queryUnSelectUserListPage(UserTagItem userTagItem) throws Exception;
}